home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / cpio.z / cpio
Text File  |  1998-10-20  |  30KB  |  529 lines

  1.  
  2.  
  3.  
  4. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _cccc_pppp_iiii_oooo - copy file archives in and out
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _cccc_pppp_iiii_oooo _----_iiii[_bbbb_BBBB_cccc_dddd_ffff_kkkk_mmmm_rrrr_ssss_SSSS_tttt_uuuu_vvvv_TTTT_VVVV_6666] [_----_CCCC _b_u_f_s_i_z_e] [_----_EEEE _f_i_l_e] [_----_HHHH _h_d_r] [_----_IIII _f_i_l_e [_----_MMMM
  13.      _m_e_s_s_a_g_e]]      [_----_RRRR _I_D]] [_p_a_t_t_e_r_n . . .]
  14.  
  15.      _cccc_pppp_iiii_oooo _----_oooo[_aaaa_AAAA_BBBB_cccc_KKKK_LLLL_vvvv_VVVV_WWWW] [_----_CCCC _b_u_f_s_i_z_e] [_----_HHHH _h_d_r] [_----_OOOO _f_i_l_e [_----_MMMM _m_e_s_s_a_g_e]]
  16.  
  17.      _cccc_pppp_iiii_oooo _----_pppp[_aaaa_dddd_llll_LLLL_mmmm_uuuu_vvvv_VVVV_WWWW] [_----_RRRR _I_D] _d_i_r_e_c_t_o_r_y
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      The _----_iiii, _----_oooo, and _----_pppp options select the action to be performed.  The
  21.      following list describes each of the actions (which are mutually
  22.      exclusive).
  23.  
  24.      _cccc_pppp_iiii_oooo _----_iiii (copy in) extracts files from the standard input, which is
  25.      assumed to be the product of a previous _cccc_pppp_iiii_oooo _----_oooo.  Only files with names
  26.      that match _p_a_t_t_e_r_n_s are selected.  _p_a_t_t_e_r_n_s are regular expressions given
  27.      in the filename-generating notation of _ssss_hhhh(1).  In _p_a_t_t_e_r_n_s, meta-
  28.      characters _????, _****, and _[[[[ . . . _]]]] match the slash (_////) character, and
  29.      backslash (_\\\\) is an escape character.  A _!!!! meta-character means _n_o_t.
  30.      (For example, the _!!!!_aaaa_bbbb_cccc_**** pattern would exclude all files that begin with
  31.      _aaaa_bbbb_cccc.)  Multiple _p_a_t_t_e_r_n_s may be specified and if no _p_a_t_t_e_r_n_s are
  32.      specified, the default for _p_a_t_t_e_r_n_s is _**** (that is, select all files).
  33.      Each pattern must be enclosed in double quotes; otherwise, the name of a
  34.      file in the current directory might be used.  Extracted files are
  35.      conditionally created and copied into the current directory tree based on
  36.      the options described below.
  37.  
  38.      The permissions of the files will be the same as those at the time of the
  39.      previous _cccc_pppp_iiii_oooo _----_oooo, subject to modification by the current _u_m_a_s_k value.
  40.      Use a _u_m_a_s_k of 0 if you want the modes to match the original modes.  The
  41.      owner and group of these files will be those of the current user, unless
  42.      the current user is super-user.  If this is true, the permissions, owner,
  43.      and group of the files will be the same as those at the time of the
  44.      previous _cccc_pppp_iiii_oooo _----_oooo.
  45.  
  46.      NOTE: If _cccc_pppp_iiii_oooo _----_iiii tries to create a file that already exists and the
  47.      existing file is the same age or younger (newer), _cccc_pppp_iiii_oooo will output a
  48.      warning message and not replace the file.  (The _----_uuuu option can be used to
  49.      overwrite, unconditionally, the existing file.)  If file names are given
  50.      as absolute pathnames to _cccc_pppp_iiii_oooo _----_oooo, then when the files are restored via
  51.      _cccc_pppp_iiii_oooo _----_iiii, they will be written to their original directories regardless of
  52.      the current directory.  This behavior can be circumvented by using the _----_rrrr
  53.      option.
  54.  
  55.      _cccc_pppp_iiii_oooo _----_oooo (copy out) reads the standard input to obtain a list of pathnames
  56.      and copies those files onto the standard output together with pathname
  57.      and status information.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  71.  
  72.  
  73.  
  74.      _cccc_pppp_iiii_oooo _----_pppp (pass) reads the standard input to obtain a list of pathnames of
  75.      files that are conditionally created and copied into the destination
  76.      _d_i_r_e_c_t_o_r_y tree based on the options described below.
  77.  
  78.      _cccc_pppp_iiii_oooo processes supplementary code set characters, and recognizes
  79.      supplementary code set characters in the _m_e_s_s_a_g_e given to the _\\\\_----_MMMM option
  80.      (see below) according to the locale specified in the _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE environment
  81.      variable [see _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5)].  In regular expressions, pattern
  82.      searches are performed on characters, not bytes, as described on _ssss_hhhh(1).
  83.      Under the _\\\\_----_vvvv_tttt option (see below), the date is displayed according to the
  84.      locale specified in the _LLLL_CCCC______TTTT_IIII_MMMM_EEEE environment variable.
  85.  
  86.      The meanings of the available options are
  87.  
  88.      _----_aaaa   Reset access times of input files after they have been copied.
  89.           Access times are not reset for linked files when _cccc_pppp_iiii_oooo _----_pppp_llll_aaaa is
  90.           specified (mutually exclusive with _----_mmmm).  See NOTES (see below) for
  91.           additional error information.
  92.  
  93.      _----_AAAA   Append files to an archive.  The _----_AAAA option requires the _----_OOOO option.
  94.           Valid only with archives that are files, or that are on floppy
  95.           diskettes or hard disk partitions.
  96.  
  97.      _----_bbbb   Reverse the order of the bytes within each word.  (Use only with the
  98.           _----_iiii option.)
  99.  
  100.      _----_BBBB   Input/output is to be blocked 5120 bytes to the record.  The default
  101.           buffer size is device dependent when neither this nor the _----_CCCC option
  102.           is used. (_----_BBBB does not apply to the _pppp_aaaa_ssss_ssss option.)
  103.  
  104.      _----_cccc   Read or write header information in ASCII character form for
  105.           portability.  Always use this option (or the _----_HHHH  option) when the
  106.           origin and the destination machines are different types (mutually
  107.           exclusive with _----_HHHH and _----_6666).  (The _----_cccc option implies expanded device
  108.           numbers, thus is not POSIX compliant)
  109.  
  110.      _----_CCCC _b_u_f_s_i_z_e
  111.           Input/output is to be blocked _b_u_f_s_i_z_e bytes to the record, where
  112.           _b_u_f_s_i_z_e is replaced by a positive integer.  The default buffer size
  113.           is device dependent when neither this nor the _----_BBBB option is used.
  114.           (_----_CCCC does not apply to the _pppp_aaaa_ssss_ssss option.)
  115.  
  116.      _----_dddd   Directories are to be created as needed.
  117.  
  118.      _----_EEEE _f_i_l_e
  119.           Specify an input file (_f_i_l_e) that contains a list of filenames to be
  120.           extracted from the archive (one filename per line).
  121.  
  122.      _----_ffff   Copy in all files except those in _p_a_t_t_e_r_n_s. (See the paragraph on
  123.           _cccc_pppp_iiii_oooo _----_iiii for a description of _p_a_t_t_e_r_n_s.)
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  137.  
  138.  
  139.  
  140.      _----_HHHH _h_d_r
  141.           Read or write header information in _h_d_r format.  Always use this
  142.           option or the _----_cccc option when the origin and the destination machines
  143.           are different types (mutually exclusive with _----_cccc and _----_6666).  Valid
  144.           values for _h_d_r are:
  145.  
  146.           _cccc_rrrr_cccc or _CCCC_RRRR_CCCC      ASCII header with expanded device numbers and an
  147.                           additional per-file checksum (Not POSIX compliant,
  148.                           since header format is different)
  149.  
  150.           _uuuu_ssss_tttt_aaaa_rrrr or _UUUU_SSSS_TTTT_AAAA_RRRR  IEEE/P1003 Data Interchange Standard header and
  151.                           format
  152.  
  153.           _tttt_aaaa_rrrr or _TTTT_AAAA_RRRR      _tttt_aaaa_rrrr header and format
  154.  
  155.           _oooo_dddd_cccc             ASCII header with small device numbers
  156.  
  157.      _----_IIII _f_i_l_e
  158.           Read the contents of _f_i_l_e as an input archive.  If _f_i_l_e is a
  159.           character special device, and the current medium has been completely
  160.           read, replace the medium and press RETURN to continue to the next
  161.           medium.
  162.  
  163.           The specified _f_i_l_e can also reference a remote tape device. A remote
  164.           tape device name has the form:
  165.  
  166.                [_u_s_e_r@]system:/dev/???
  167.  
  168.           Where _s_y_s_t_e_m is the remote system, /_d_e_v/??? is the particular drive
  169.           on the remote system (raw, rewinding, non-rewinding, etc.), and the
  170.           optional _u_s_e_r is the login name to be used on the remote system, if
  171.           different from the current user's login name.
  172.  
  173.           This option is used only with the _----_iiii option.
  174.  
  175.      _----_kkkk   Attempt to skip corrupted file headers and I/O errors that may be
  176.           encountered.  If you want to copy files from a medium that is
  177.           corrupted or out of sequence, this option lets you read only those
  178.           files with good headers.  (For _cccc_pppp_iiii_oooo archives that contain other _cccc_pppp_iiii_oooo
  179.           archives, if an error is encountered _cccc_pppp_iiii_oooo may terminate prematurely.
  180.           _cccc_pppp_iiii_oooo will find the next good header, which may be one for a smaller
  181.           archive, and terminate when the smaller archive's trailer is
  182.           encountered.)  Used only with the _----_iiii option.
  183.  
  184.      _----_KKKK   Required for files larger than 2 Gigabytes.  _CCCC_pppp_iiii_oooo will issue a
  185.           warning and skip such files if an attempt is made to archive them
  186.           without specifying the _----_KKKK flag.  Used only with the _----_oooo option.
  187.           Mutually exclusive with _----_cccc, _----_HHHH options.  Because the _----_cccc option can
  188.           not be used, device files with large minor or major numbers could
  189.           not normally be archived; the binary format is extended with this
  190.           option so that those device files can be backed up, but will not be
  191.           able to be restored on older or non-IRIX versions of _cccc_pppp_iiii_oooo with the
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  203.  
  204.  
  205.  
  206.           correct major and minor number.  Warning: Use of this option may
  207.           result in the creation of an archive that is not portable to other
  208.           machines; a warning is issued on the first file causing the archive
  209.           to not be portable.
  210.  
  211.      _----_llll   Whenever possible, link files rather than copying them.  (Usable
  212.           only with the _----_pppp option.)  If the link fails a error message will be
  213.           displayed and then _cccc_pppp_iiii_oooo will attempt to copy the file.
  214.  
  215.      _----_LLLL   Follow symbolic links.  The default is not to follow symbolic links.
  216.  
  217.      _----_mmmm   Retain previous file modification time.  The modification time and
  218.           access time of a restored file is set to the modification time of
  219.           the file when it was backed up.  This option is ineffective on
  220.           directories that are being copied.  This option is mutually
  221.           exclusive with _----_aaaa.
  222.  
  223.      _----_MMMM _m_e_s_s_a_g_e
  224.           Define a _m_e_s_s_a_g_e to use when switching media.  When you use the _----_OOOO
  225.           or _----_IIII options and specify a character special device, you can use
  226.           this option to define the message that is printed when you reach the
  227.           end of the medium.  One _%%%%_dddd can be placed in _m_e_s_s_a_g_e to print the
  228.           sequence number of the next medium needed to continue.  _m_e_s_s_a_g_e may
  229.           contain supplementary code set characters.
  230.  
  231.      _----_OOOO _f_i_l_e
  232.           Direct the output of _cccc_pppp_iiii_oooo to _f_i_l_e.  If _f_i_l_e is a character special
  233.           device and the current medium is full, replace the medium and press
  234.           the RETURN key to continue to the next medium.  Use only with the _----_oooo
  235.           option.
  236.  
  237.      _----_rrrr   Interactively rename files.  If the user presses the RETURN key
  238.           alone, the file is skipped.  If the user types a ``.'' the original
  239.           pathname will be retained.  (Not available with _cccc_pppp_iiii_oooo _----_pppp.)
  240.  
  241.      _----_RRRR _I_D
  242.           Reassign ownership and group information for each file to user _I_D
  243.           (_I_D must be a valid user ID from _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd).  This option is valid
  244.           only for a super-user.
  245.  
  246.      _----_ssss   Swap bytes within each half word.
  247.  
  248.      _----_SSSS   Swap halfwords within each word.
  249.  
  250.      _----_tttt   Print a table of contents of the input.  No files are created
  251.           (mutually exclusive with _----_VVVV).
  252.  
  253.      _----_TTTT   Test (verify) the contents of the archive against the files in the
  254.           filesystem.  A _==== is printed in the first column if the file is the
  255.           same, otherwise _!!!!.  If given as _----_TTTT_TTTT, a second _==== or _!!!! is output,
  256.           based on the owner, group, and permissions matching, and in the case
  257.           of symbolic links, the contents of the symbolic link.
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  269.  
  270.  
  271.  
  272.      _----_WWWW   Detect and handle specially files with holes (sections of a file
  273.           with no disk blocks allocated to it, normally caused by seeking over
  274.           a section of the file while it is being created).  Holey files are
  275.           marked specially in the archive, and a block map is written at the
  276.           start of a file.  Only the non-hole sections are written to the
  277.           archive, normally requiring much less space than when this option is
  278.           not used.
  279.  
  280.           When used, and holey files are found, the archive will not be
  281.           compatible with other versions of _cccc_pppp_iiii_oooo (non-IRIX versions, or IRIX
  282.           versions older than IRIX 6.5); a warning is issued on the first file
  283.           causing the archive to not be portable.  Used only with the _----_oooo
  284.           option.  Mutually exclusive with _----_cccc, _----_HHHH options.  When the _----_vvvv option
  285.           is used, the type is printed as _HHHH for holey files, rather than _----.
  286.  
  287.      _----_uuuu   Copy unconditionally (normally, an older file will not replace a
  288.           newer file with the same name).
  289.  
  290.      _----_vvvv   Verbose: causes a list of file names to be printed.  When used with
  291.           the _----_tttt option, the table of contents looks like the output of an _llll_ssss
  292.           _----_llll command [see _llll_ssss(1)]; dates are displayed according to the locale
  293.           specified in the _LLLL_CCCC______TTTT_IIII_MMMM_EEEE environment variable [see _LLLL_AAAA_NNNN_GGGG on
  294.           _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5)].
  295.  
  296.      _----_VVVV   Special Verbose:  print a dot for each file read or written.  Useful
  297.           to assure the user that _cccc_pppp_iiii_oooo is working without printing out all
  298.           file names.
  299.  
  300.      _----_6666   Process a UNIX System Sixth Edition archive format file.  Use only
  301.           with the _----_iiii option (mutually exclusive with _----_cccc and _----_HHHH)).
  302.  
  303.      Note:  _cccc_pppp_iiii_oooo assumes four-byte words.
  304.  
  305.      If, when writing to a character device (_----_oooo) or reading from a character
  306.      device
  307.      (_----_iiii), _cccc_pppp_iiii_oooo reaches the end of a medium (such as the end of a tape), and
  308.      the
  309.      _----_OOOO and _----_IIII options aren't used, _cccc_pppp_iiii_oooo will print the following message:
  310.  
  311.           _IIII_ffff _yyyy_oooo_uuuu _wwww_aaaa_nnnn_tttt _tttt_oooo _gggg_oooo _oooo_nnnn_,,,, _tttt_yyyy_pppp_eeee _dddd_eeee_vvvv_iiii_cccc_eeee_////_ffff_iiii_llll_eeee _nnnn_aaaa_mmmm_eeee _wwww_hhhh_eeee_nnnn _rrrr_eeee_aaaa_dddd_yyyy_....
  312.  
  313.      To continue, you must replace the medium and type the character special
  314.      device name (_////_dddd_eeee_vvvv_////_tttt_aaaa_pppp_eeee for example) and press RETURN.  You may want to
  315.      continue by directing _cccc_pppp_iiii_oooo to use a different device.  For example, if
  316.      you have two tape drives you may want to switch between them so _cccc_pppp_iiii_oooo can
  317.      proceed while you are changing the tapes.  (Simply pressing RETURN causes
  318.      the _cccc_pppp_iiii_oooo process to exit.)
  319.  
  320. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  321.      The following examples show three uses of _cccc_pppp_iiii_oooo.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  335.  
  336.  
  337.  
  338.      When standard input is directed through a pipe to _cccc_pppp_iiii_oooo _----_oooo, files are
  339.      grouped so they can be directed (>) to a single file (_...._...._////_nnnn_eeee_wwww_ffff_iiii_llll_eeee).  The
  340.      _----_cccc option insures that the file will be portable to other machines (as
  341.      would the _----_HHHH option).  Instead of _llll_ssss(1), you could use _ffff_iiii_nnnn_dddd(1), _eeee_cccc_hhhh_oooo(1),
  342.      _cccc_aaaa_tttt(1), and so on, to pipe a list of names to _cccc_pppp_iiii_oooo.  You could direct the
  343.      output to a device instead of a file.
  344.  
  345.           _llll_ssss _|||| _cccc_pppp_iiii_oooo _----_oooo_cccc _>>>> _...._...._////_nnnn_eeee_wwww_ffff_iiii_llll_eeee
  346.  
  347.      _cccc_pppp_iiii_oooo _----_iiii uses the output file of _cccc_pppp_iiii_oooo _----_oooo (directed through a pipe with _cccc_aaaa_tttt
  348.      in the example below), extracts those files that match the patterns
  349.      (_mmmm_eeee_mmmm_oooo_////_aaaa_1111, _mmmm_eeee_mmmm_oooo_////_bbbb_****), creates directories below the current directory as
  350.      needed (_----_dddd option), and places the files in the appropriate directories.
  351.      The _----_cccc option is used if the input file was created with a portable
  352.      header.  If no patterns were given, all files from _nnnn_eeee_wwww_ffff_iiii_llll_eeee would be
  353.      placed in the directory.
  354.  
  355.           _cccc_aaaa_tttt _nnnn_eeee_wwww_ffff_iiii_llll_eeee _|||| _cccc_pppp_iiii_oooo _----_iiii_cccc_dddd _""""_mmmm_eeee_mmmm_oooo_////_aaaa_1111_"""" _""""_mmmm_eeee_mmmm_oooo_////_bbbb_****_""""
  356.  
  357.      _cccc_pppp_iiii_oooo _----_pppp takes the file names piped to it and copies or links (_----_llll option)
  358.      those files to another directory (_nnnn_eeee_wwww_dddd_iiii_rrrr in the example below).  The _----_dddd
  359.      option says to create directories as needed.  The _----_mmmm option says retain
  360.      the modification time.  (It is important to use the _----_dddd_eeee_pppp_tttt_hhhh option of
  361.      _ffff_iiii_nnnn_dddd(1) to generate pathnames for _cccc_pppp_iiii_oooo.  This eliminates problems _cccc_pppp_iiii_oooo
  362.      could have trying to create files under read-only directories.)  The
  363.      destination directory, _nnnn_eeee_wwww_dddd_iiii_rrrr, must exist.
  364.  
  365.           _ffff_iiii_nnnn_dddd _.... _----_dddd_eeee_pppp_tttt_hhhh _----_pppp_rrrr_iiii_nnnn_tttt _|||| _cccc_pppp_iiii_oooo _----_pppp_dddd_llll_mmmm_vvvv _nnnn_eeee_wwww_dddd_iiii_rrrr
  366.  
  367.      Note that when you use _cccc_pppp_iiii_oooo in conjunction with _ffff_iiii_nnnn_dddd, if you use the _----_LLLL
  368.      option with _cccc_pppp_iiii_oooo then you must use the _----_ffff_oooo_llll_llll_oooo_wwww option with _ffff_iiii_nnnn_dddd and vice
  369.      versa.  Otherwise there will be undesirable results.
  370.  
  371. FFFFIIIILLLLEEEESSSS
  372.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_cccc_oooo_rrrr_eeee_...._aaaa_bbbb_iiii
  373.           language-specific message file [See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn (5).]
  374.  
  375. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  376.      _aaaa_rrrr(1), _cccc_aaaa_tttt(1), _eeee_cccc_hhhh_oooo(1), _ffff_iiii_nnnn_dddd(1), _llll_ssss(1), _tttt_aaaa_rrrr(1), _uuuu_mmmm_aaaa_ssss_kkkk(1), _aaaa_tttt_tttt_rrrr(1),
  377.      _xxxx_ffff_ssss_dddd_uuuu_mmmm_pppp(1m), _aaaa_rrrr_cccc_hhhh_iiii_vvvv_eeee_ssss(4)
  378.  
  379. NNNNOOOOTTTTEEEESSSS
  380.      An archive created with the _----_cccc option (defaults to an ASCII header with
  381.      expanded device numbers and an additional per-file checksum - _CCCC_RRRR_CCCC) on a
  382.      Release 4 system cannot be read on System V Release 3.2 systems, or
  383.      earlier.
  384.  
  385.      Use the _----_HHHH _oooo_dddd_cccc option in the current version of _cccc_pppp_iiii_oooo (ie. IRIX 5.X
  386.      Operating system), which is equivalent to the header created by the _----_cccc
  387.      option in earlier System V releases (ie. IRIX 4.0.X Operating System).
  388.      This is to be used when reading previously created _cccc_pppp_iiii_oooo image(s) on a
  389.      System V Release 4 systems (ie. IRIX 5.X Operating system).
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  401.  
  402.  
  403.  
  404.      _cccc_pppp_iiii_oooo will issue a warning and continue archiving when the block or
  405.      character device numbers are truncated when using the _----_HHHH _oooo_dddd_cccc option.
  406.  
  407.      _cccc_pppp_iiii_oooo will issue a warning and continue archiving when the userid or group
  408.      id of associated with a file is too large.  The userid for the user
  409.      ``nobody'' will be substituted.  The limits are 65535 for binary
  410.      (default) format, and 262143 for _----_HHHH _uuuu_ssss_tttt_aaaa_rrrr, _----_HHHH _tttt_aaaa_rrrr and _----_HHHH _oooo_dddd_cccc formats.
  411.      There is no limit for _----_HHHH _cccc_rrrr_cccc or _----_cccc formats.
  412.  
  413.      It is common to construct a list of file names with ffffiiiinnnndddd or other
  414.      commands to pipe to cpio.  Filenames with embedded white space will work
  415.      this way, with the exception of filenames with embedded newlines, since
  416.      each filename in the list is terminated by a newline.  This may sometimes
  417.      produce confusing error messages.
  418.  
  419.      If the _BBBB_yyyy_tttt_eeee _ssss_wwww_aaaa_pppp_pppp_eeee_dddd _dddd_aaaa_tttt_aaaa _---- _rrrr_eeee_----_tttt_rrrr_yyyy _wwww_iiii_tttt_hhhh _cccc_oooo_rrrr_rrrr_eeee_cccc_tttt _dddd_eeee_vvvv_iiii_cccc_eeee message occurs,
  420.      check to make sure that the correct device (switched or non-switched) is
  421.      begin used to dump the media (see _tttt_pppp_ssss(7M)).
  422.  
  423.      Path names are restricted to 256 characters for the binary (the default)
  424.      and _----_HHHH _oooo_dddd_cccc header formats.  Otherwise, pathnames are restricted to 1024
  425.      characters.
  426.  
  427.      Only a super-user user can copy special files.  Additionally, when
  428.      running from a setuid program (or if made setuid itself), some files may
  429.      still not be accessible, since the effective userid is checked in several
  430.      places, rather than the real userid.  This is deliberate.
  431.  
  432.      Blocks are reported in 512-byte quantities.
  433.  
  434.      If a file has _0000_0000_0000 permissions, contains more than 0 characters of data,
  435.      and the user does not have the appropriate access to the file, the file
  436.      will not be saved or restored.
  437.  
  438.      The default buffer size is optimized for the device and using the _----_CCCC
  439.      option to specify a different block size may cause _cccc_pppp_iiii_oooo to fail.
  440.      Therefore, care must be taken when choosing the block size.  To avoid
  441.      wasting space on streaming tape drives, the _----_CCCC option with an appropriate
  442.      block size should be used.
  443.  
  444.      When using the _----_aaaa option (resets the access times of the input files)
  445.      _cccc_pppp_iiii_oooo cannot reset the access time of the files in /dev/fd.  This is
  446.      because these are special "file descriptor files" (see _ffff_dddd(4)).  These
  447.      "file descriptor files" cannot have there access times reset with _cccc_pppp_iiii_oooo or
  448.      _uuuu_tttt_iiii_mmmm_eeee(2).  _cccc_pppp_iiii_oooo with the _----_aaaa option will issue the warning message(s)
  449.      "Cannot reset time on "/dev/fd/XX" : Operation not supported" when
  450.      confronted with these files.
  451.  
  452.      Extended Attributes are not archived or restored.  See _aaaa_tttt_tttt_rrrr(1) for more
  453.      information about Extended Attributes and see _xxxx_ffff_ssss_dddd_uuuu_mmmm_pppp(1m) for a method to
  454.      back them up.
  455.  
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. ccccppppiiiioooo((((1111))))                                                                ccccppppiiiioooo((((1111))))
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.                                                                         PPPPaaaaggggeeee 8888
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.